package com.facedemo.face;

public class FaceConfig {
    private double mLightFZ = 0.65d;//可见光对比阈值
    private boolean isUseLiveProcess = false;//是否使用活体检测
    private int liveLevel = 1;//活体等级，1：快速  2：安全
    private int faceDetectType = DETECT_TYPE_MAX;//1:单人脸 2：多人脸
    private boolean isDuplicateRecognition = false;//是否重复识别（false:已经识别过的人脸，不重复识别  true:重复识别）
    private float minFaceIod = 0.1f;//人脸 宽度与图像宽度 的最小占比( 用于判断人脸检测的最小距离 )

    public static final int DETECT_TYPE_MAX = 1;//检测最大人脸
    public static final int DETECT_TYPE_MULIT = 2;//检测多人脸

    public FaceConfig() {

    }

    public double getmLightFZ() {
        return mLightFZ;
    }

    public void setmLightFZ(double mLightFZ) {
        this.mLightFZ = mLightFZ;
    }

    public boolean isUseLiveProcess() {
        return isUseLiveProcess;
    }

    public void setUseLiveProcess(boolean useLiveProcess) {
        isUseLiveProcess = useLiveProcess;
    }

    public int getLiveLevel() {
        return liveLevel;
    }

    public void setLiveLevel(int liveLevel) {
        this.liveLevel = liveLevel;
    }

    public int getFaceDetectType() {
        return faceDetectType;
    }

    public void setFaceDetectType(int faceDetectType) {
        this.faceDetectType = faceDetectType;
    }

    public float getMinFaceIod() {
        return minFaceIod;
    }

    public void setMinFaceIod(float minFaceIod) {
        this.minFaceIod = minFaceIod;
    }

    public boolean isDuplicateRecognition() {
        return isDuplicateRecognition;
    }

    public void setDuplicateRecognition(boolean duplicateRecognition) {
        isDuplicateRecognition = duplicateRecognition;
    }
}
